package com.bysj.lms.service;

import com.bysj.lms.pojo.entity.OutlineVersion;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaojiakai
 * @since 2022-04-27
 */
public interface IOutlineVersionService extends IService<OutlineVersion> {

    //根据版本号查询
    OutlineVersion getByNumber(String versionNumber);

    //添加
    boolean add(OutlineVersion outlineVersion);

    //生成版本编号
    String generatorNumber(String number,String major);


    //list
    List<OutlineVersion> getList(String major);

}
